import Layout from '@/views/layout'

export default {
  path: '/coupon',
  name: 'couponCenter',
  component: Layout,
  redirect: '/coupon/manage',
  meta: {
    title: '优惠券管理',
    icon: 'nested',
    perm: 'm:coupon',
    sort: 1
  },
  children: [
    {
      path: '/coupon/manage',
      name: 'couponManage',
      component: () => import('@/views/coupon/list'),
      meta: {
        title: '优惠券列表',
        icon: 'nested',
        perm: 'm:coupon:manage'
      }
    }
  ]
}
